<?php

import('classes.handler.Handler');
class MUAHANGHandler extends Handler {
	function CN_MUAHANGCNO($args, &$request) {

		$gcNam = Request::getUserVar('xNam') ;
		$xSection = Request::getUserVar("ChiTiet") ;

		$router =& $request->getRouter();
		$journal =& $router->getContext($request);
		$xma_dvcs =$journal->getPath(); 
		$xId_dvcs = $journal->getID(); 

		$user =& Request::getUser();
		$userId = $user->getId();
		$userName = $user->getFullName();
		

		echo "<br>Mua hang va Cong no phai tra<br>";
		echo "Don vi: $xma_dvcs <br> MaDV =  $xId_dvcs<br>";
		echo "Nam: $gcNam<br>";
		echo "Phan he: $xSection<br>";
		echo "Nguoi dung: $userId<br> $userName";
	}


}

?>
